package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单对象 tb_order
 * 
 * @author ruoyi
 * @date 2021-04-26
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderId;

    /** 客户账号编号 */
    @Excel(name = "客户账号编号")
    private Long custId;

    /** 账号 */
    @Excel(name = "账号")
    private Long userId;


    /** 订单ID */
    @Excel(name = "订单ID")
    private String publishId;

    /** 状态 1=未成功 1=成功 */
    @Excel(name = "状态 1=未成功 1=成功")
    private String state;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setCustId(Long custId) 
    {
        this.custId = custId;
    }

    public Long getCustId() 
    {
        return custId;
    }
    public void setPublishId(String publishId) 
    {
        this.publishId = publishId;
    }

    public String getPublishId() 
    {
        return publishId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("custId", getCustId())
            .append("publishId", getPublishId())
            .append("state", getState())
            .toString();
    }
}
